﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccessLayer
{
    public class EF4_SQLserverDB
    {
        public static SqlConnection GetConnection()
        {
            string myCon = "Data Source=(Localdb)\\v11.0;Initial Catalog=EF4_SQLserver;Integrated Security=True";
            SqlConnection con = new SqlConnection(myCon);
            return con;
        }
    }
}
